<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Profe extends CI_Controller {
     function __construct(){
        parent::__construct();
            if (!$this->session->userdata('logged_profe')){
            redirect('login');
            }
        }

public function index(){
        $data['title']='Profesores';
        $data['css']= array('reset','front/estructura','front/menu','front/datatable/demo_table_jui',
                            'front/datatable/jquery-ui-1.8.21.custom'
                            );
        $data['js']= array('jquery-1.7.2.min','treemenu/jquery.treeview','treemenu/jquery.cookie',
                            'datatable/dataTables191','scripts_varios'
                            );
	$this->load->view('v_profe',$data);
  }  
  
  
  
}